package caro.app.business;
import java.net.*;
/**
 * Class Player
 * @author Thanh Nhan
 * @Since Aug 14, 2011
 * @Version 1.0
 */
public class Player {
    private Socket socket;
    private String name;
    private int checkValue;
    public Player(){
    
    }
    public Player(Socket socket, String name){
        this.name = name;
        this.socket = socket;
    }

    /**
     * @return the socket
     */
    public Socket getSocket() {
        return socket;
    }

    /**
     * @param socket the socket to set
     */
    public void setSocket(Socket socket) {
        this.socket = socket;
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the checkValue
     */
    public int getCheckValue() {
        return checkValue;
    }

    /**
     * @param checkValue the checkValue to set
     */
    public void setCheckValue(int checkValue) {
        this.checkValue = checkValue;
    }
}
